<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<{include file="./foreground/common.htm" }> 
<link rel="stylesheet" type="text/css" href="/css/main.css" />
<script language="javascript" src="/js/main.js"></script>
<script language="javascript" src="/js/js.js"></script>
</head>
<body>
<{include file="./foreground/header.htm" }> 
<div class="td"></div>
<!--#body-->
<div class="layout mar pv">
   <div class="box1">
      <div class="Fox">
         <div class="fsox">
            <div class="fsimg">
               <div class="fst">推荐文章</div>
               <div class="cls">              
               	<{foreach from=$list.0 item=datil key=id}>
                <dl>
                     <dt><img width="66" height="66" src="<{$datil.post_summary}>" /></dt>
                     <dd>
                        <p><a target="_blank" href="<{spUrl c=main a=datil id=$datil.id}>"><{$datil.post_title|truncate:30:"...":true}></a></p>
                        <p><{$datil.post_datil|strip_tags|truncate:50:"...":true}></p>
                     </dd>
                  </dl> 
				<{/foreach}> 
               </div>
            </div>
            <div class="fstxt">
               <div class="fst"><{if $fid==1}>近期工程<{else if $fid==2}>装修小贴士<{else}>风水知识<{/if}>文章列表</div>
               <div class="cls mar nl">
                 <ul>
				<{foreach from=$list.1 item=datil key=id}>
    				 <li><a target="_blank" href="<{spUrl c=main a=datil id=$datil.id}>"><{$datil.post_title|truncate:30:"...":true}></a></li>
				<{/foreach}> 
                 </ul>
              </div>
            </div>
         </div>  
         <div class="Page">
<{if $pager}>
<{if $pager.current_page != $pager.first_page}>
<a href="<{spUrl c=main a=articlelist fid=$fid}>">&lt;&lt;</a>
<{/if}>
<{foreach from=$pager.all_pages item=thepage}>
	<{if $thepage != $pager.current_page}>
    <a href="<{spUrl c=main a=articlelist fid=$fid page=$thepage}>"><{$thepage}></a>
	<{else}>
		<{$thepage}>
	<{/if}>
<{/foreach}>
<{if $pager.current_page != $pager.last_page}>
<a href="<{spUrl c=main a=articlelist fid=$fid page=$pager.last_page}>">&gt;&gt;</a>
<{/if}>
<{/if}>         
         
         
         
         </div> 
      </div>
   </div>
   <div class="box2">
      <div class="rnav">
         <ul>
            <li class="Fos">
            <{if $fid==1}>
               <p><img width="50" src="/images/html/pj2.jpg" /></p>
               <p><a href="<{spUrl c=main a=articlelist fid=1}>">近期工程</a></p>
            <{else if $fid==2}>
               <p><img src="/images/html/n9.jpg" /></p>
               <p><a href="<{spUrl c=main a=articlelist fid=2}>">装修小贴士</a></p>             
            <{else}>
               <p><img src="/images/html/n4.jpg" /></p>
               <p><a href="<{spUrl c=main a=articlelist fid=3}>">风水知识</a></p>           
            <{/if}>
            </li>
         </ul>
      </div>
   </div>
   <div class="bk">
      <div class="rnav">
         <ul>
            <li class="Fos">
               <p><img src="/images/html/bk.jpg" /></p>
               <p><a href="/">返回首页</a></p>
            </li>
         </ul>
      </div>
   </div>
</div>
<!--#body-->
<{include file="./foreground/footer.htm" }> 
</body>
</html>
